package net.ericaro.neojavagen.types ;
import net.ericaro.neojavagen.types.TypeArguments;
import net.ericaro.neojavagen.types.Identifier ;

/**
* *<pre> TypedIdentifier :
    Identifier TypeArguments?
</pre>
*/
public class TypedIdentifier   {

Identifier identifier;
TypeArguments typearguments ;

public TypedIdentifier( Identifier identifier, TypeArguments typearguments ){
	this.identifier = identifier; this.typearguments = typearguments ;
	}public TypedIdentifier( Identifier identifier ){
this.identifier = identifier ;
}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	stringbuilder.append( this.identifier ).append(" ");
if (this.typearguments !=null ) stringbuilder.append( this.typearguments ).append(" ") ;
	return stringbuilder.toString();
}

}
